package com.bkgy.controller.allprocessRcl2150.controller;

import com.bkgy.controller.allprocessRcl2150.dto.AllProcessTbYieldRcl2150Requst;
import com.bkgy.controller.allprocessRcl2150.service.AllProcessRcl2150Service;
import com.bkgy.sys.common.entity.ResultData;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.validation.Valid;

@Tag(name = "重卷2150明细表")
@RestController
@RequestMapping("/allprocess")

public class TbYieldRcl2150Controller {

    @Autowired
    private AllProcessRcl2150Service allProcessRcl2150Service;

    @Operation(summary = "RCL2150明细表-分页", description = "RCL2150明细表")
    @PostMapping("/rcl2150detais")
    public ResultData rcl2150detais(@RequestBody @Valid AllProcessTbYieldRcl2150Requst request)
    {
        return allProcessRcl2150Service.rcl2150detais(request);
    }
}